/**
 * @swagger
 *  /node/api/file/upload:
 *   post:
 *     tags:
 *     - 文件模块
 *     summary: 文件上传
 *     consumes:
 *      - multipart/form-data
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *       - in: formData
 *         type: file
 *         name: file
 *         required: true
 *         description: 上传按钮加载不了（在浏览器输入网址http://ip:port/node/html/file;进入上传测试）
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/api/file/img:
 *   post:
 *     tags:
 *     - 文件模块
 *     summary: 图片上传
 *     consumes:
 *      - multipart/form-data
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *       - in: formData
 *         type: file
 *         name: file
 *         required: true
 *         description: 上传按钮加载不了（在浏览器输入网址http://ip:port/node/html/file;进入上传测试）
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/api/file/video:
 *   post:
 *     tags:
 *     - 文件模块
 *     summary: 视频分片上传：参考api/html/file案例
 *     consumes:
 *      - multipart/form-data
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *       - in: formData
 *         type: file
 *         name: file
 *         required: true
 *         description: 上传按钮加载不了（在浏览器输入网址http://ip:port/node/html/file;进入上传测试）
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/api/file/find:
 *   get:
 *     tags:
 *     - 文件模块
 *     summary: 文件列表
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *       - name: name
 *         description: 查询关键字
 *         in: query
 *         type: string
 *       - name: field
 *         description: 查询字段
 *         in: query
 *         type: string
 *         default: path
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/api/file/download/{file}/{name}:
 *   get:
 *     tags:
 *     - 文件模块
 *     summary: 下载
 *     parameters:
 *       - name: file
 *         in: path
 *         required: true
 *         description: 文件目录(多个目录需要encodeURIComponent转义，例：admin/img)
 *         type: string
 *         default: "admin%2Fimg"
 *       - name: name
 *         in: path
 *         required: true
 *         type: string
 *         description: 文件名
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/staticFile/{file}/{name}:
 *   get:
 *     tags:
 *     - 文件模块
 *     summary: 预览
 *     parameters:
 *       - name: file
 *         in: path
 *         required: true
 *         description: 文件目录(可多个目录：sysadmin/img)
 *         type: string
 *       - name: name
 *         in: path
 *         required: true
 *         type: string
 *         description: 文件名
 *     responses:
 *       200:
 *         description: success
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/api/file/del:
 *   delete:
 *     tags:
 *     - 文件模块
 *     summary: 删除文件
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *     requestBody:
 *         required: true
 *         content:
 *            application/json:
 *              schema:
 *                type: object
 *                properties:
 *                  path:
 *                    type: string
 *                    description: 文件路径名
 *                    required: true
 *     responses:
 *       200:
 *         description: success
 *       404:
 *         description: not found
 * */
